package com.ruoyi.graduate.mapping;

import com.ruoyi.graduate.domain.entity.MsPhotographyOrder;
import com.ruoyi.graduate.domain.param.MsOrderPackageAddParam;
import com.ruoyi.graduate.domain.param.MsOrderUserAddParam;
import com.ruoyi.graduate.domain.vo.MsUserOrderListVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MsPhotographyOrderMapping {

    MsPhotographyOrderMapping INSTANCE = Mappers.getMapper(MsPhotographyOrderMapping.class);

    MsPhotographyOrder add(MsOrderUserAddParam param);

    MsPhotographyOrder addPackage(MsOrderPackageAddParam param);

    List<MsUserOrderListVo> userList(List<MsPhotographyOrder> param);
}
